<?php
/* @var $this CatalogoController */
/* @var $model catalogo */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_idproducto_PK'); ?>
		<?php echo $form->textField($model,'Pr_idproducto_PK',array('size'=>25,'maxlength'=>25,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_idproducto_PK'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_descripcion'); ?>
		<?php echo $form->textField($model,'Pr_descripcion',array('size'=>30,'maxlength'=>30,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_descripcion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_categoria'); ?>
		<?php echo $form->dropDownList($model,'Pr_categoria',array('Z'=>'Z','A'=>'A')); ?>
		<?php echo $form->error($model,'Pr_categoria'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_unidadmedida'); ?>
		<?php echo $form->textField($model,'Pr_unidadmedida',array('size'=>5,'maxlength'=>5,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_unidadmedida'); ?>
	</div>

	<!-- <div class="row"> -->
		<?php //echo $form->labelEx($model,'Pr_fechaingreso'); ?>
		<?php 
			
			// $this->widget('zii.widgets.jui.CJuiDatePicker',array(
			// 'model'=>$model,
			// 'attribute'=>'Pr_fechaingreso',
			// 'htmlOptions'=>array('readonly'=>"readonly"),
			// 'language' => 'es',
			// 'options'=>array(
					
			// 		'autoSize'=>true,
			// 		'dateFormat'=>'dd-mm-yy',
			// 		'constrainInput'=>'false',
			// 		'duration'=>'fast',
			// 		'selectOtherMonths'=>true,
			// 		'showAnim'=>'slide',
			// 		'showButtonPanel'=>true,
			// 		'showOn'=>'button',
			// 		'showOtherMonths'=>true,
			// 		'changeMonth' => 'true',
			// 		'changeYear' => 'true',
					
			// ),
			// )); ?>

		<?php //echo $form->error($model,'Pr_fechaingreso'); ?>
	<!-- </div> -->

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_numconcurso'); ?>
		<?php echo $form->textField($model,'Pr_numconcurso',array('size'=>20,'maxlength'=>20,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_numconcurso'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pro_idproveedor_FK'); ?>
		<?php echo $form->textField($model,'Pro_idproveedor_FK',array('size'=>15,'maxlength'=>15,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pro_idproveedor_FK'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_precio'); ?>
		<?php echo $form->textField($model,'Pr_precio',array('size'=>12,'maxlength'=>12,"class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_precio'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Pr_cantidadminima'); ?>
		<?php echo $form->textField($model,'Pr_cantidadminima',array("class"=>"form-group  form-control")); ?>
		<?php echo $form->error($model,'Pr_cantidadminima'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Buscar',array("class"=>"bottom")); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->